<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<html> 
<head> 
<title></title> 
	<link rel="stylesheet" type="text/css" href="../easyui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="../easyui/themes/icon.css">
	<script type="text/javascript" src="../easyui/jquery-1.7.2.min.js"></script>
	<script type="text/javascript" src="../easyui/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="../js/common.js"></script>
	<script type="text/javascript" src="../js/Calendar.js"></script>
	
	<script type="text/javascript" src="../js/editWage.js"></script>
	
	<link rel="stylesheet" type="text/css" href="../css/common.css">
	<link rel="stylesheet" type="text/css" href="../css/table.css">

</head> 
<body>
<form action="editWage.html" name="fm" method="post" >
<table width="60%" border="0" cellspacing="1" align="center" cellpadding="1" class="ListTable">
	<thead>
		<tr>
			<td align="center" class="TableRow" colspan="2" nowrap style= "border-bottom:1">
					&nbsp;添加薪资&nbsp;
			</td>
		</tr>
	</thead>
	<TBODY>
	<TR>
		<TD width="20%" height="30" align="center" class="RecordRow" nowrap style= "border-bottom:1" style="border-right:1">员工编号&nbsp;</TD>
		<TD class="RecordRow" nowrap style= "border-bottom:1">&nbsp;
			<INPUT class=codecode name="user_id" id="user_id"  size="4"  value="${wage.user_id }" ondblclick="showDialog(this,'../dialog.html?type=user')">
			<INPUT name="value" size="10" class="readonly" readonly>
			<font color="red" style="center">*</font>
		</TD>
	</TR>
	<TR>
		<TD height="30" align="center" class="RecordRow" nowrap style= "border-bottom:1" style="border-right:1">基本工资&nbsp;</TD>
		<TD class="RecordRow" nowrap style= "border-bottom:1">&nbsp;
			<INPUT class=textColorWrite name="wage_base" id="wage_base" value="0.0" onchange="calculateWage()" onkeyup="if(isNaN(value))execCommand('undo')" >
			<input class=textColorWrite style="border-left-width:0px;margin-left:-4px;width:18px" value="￥" readonly>
			<font color="red" style="center">*</font>
		</TD>
	</TR>
	<TR>
		<TD height="30" align="center" class="RecordRow" nowrap style= "border-bottom:1" style="border-right:1">加班次数&nbsp;</TD>
		<TD class="RecordRow" nowrap style= "border-bottom:1">&nbsp;
			<INPUT  class=textColorWrite name="wage_overtime" id="wage_overtime"  value="0" onchange="calculateWage()" onkeyup="if(isNaN(value))execCommand('undo')"  >
			  <font color="red" style="center">*</font>
		</TD>
	</TR>
	<TR>
		<TD height="30" align="center" class="RecordRow" nowrap style= "border-bottom:1" style="border-right:1">全勤奖&nbsp;</TD>
		<TD class="RecordRow" nowrap style= "border-bottom:1">&nbsp;
			<INPUT class=textColorWrite name="wage_check" id="wage_check" value="0.0" onchange="calculateWage()" onkeyup="if(isNaN(value))execCommand('undo')" >
			<input class=textColorWrite style="border-left-width:0px;margin-left:-4px;width:18px" value="￥" readonly>
			<font color="red" style="center">*</font>
		</TD>
	</TR>
	<TR>
		<TD height="30" align="center" class="RecordRow" nowrap style= "border-bottom:1" style="border-right:1">旷工费&nbsp;</TD>
		<TD class="RecordRow" nowrap style= "border-bottom:1">&nbsp;
			<INPUT class=textColorWrite name="wage_absent" id="wage_absent" value="0.0" onchange="calculateWage()" onkeyup="if(isNaN(value))execCommand('undo')" >
			<input class=textColorWrite style="border-left-width:0px;margin-left:-4px;width:18px" value="￥" readonly>
			<font color="red" style="center">*</font>
		</TD>
	</TR>
	<TR>
		<TD height="30" align="center" class="RecordRow" nowrap style= "border-bottom:1" style="border-right:1">保险费&nbsp;</TD>
		<TD class="RecordRow" nowrap style= "border-bottom:1">&nbsp;
			<INPUT class=textColorWrite name="wage_safety" id="wage_safety" value="0.0" onchange="calculateWage()" onkeyup="if(isNaN(value))execCommand('undo')" >
			<input class=textColorWrite style="border-left-width:0px;margin-left:-4px;width:18px" value="￥" readonly>
			<font color="red" style="center">*</font>
		</TD>
	</TR>
	<TR>
		<TD height="30" align="center" class="RecordRow" nowrap style= "border-bottom:1" style="border-right:1">绩效奖金&nbsp;</TD>
		<TD class="RecordRow" nowrap style= "border-bottom:1">&nbsp;
			<INPUT class=textColorWrite name="wage_jxjj" id="wage_jxjj" value="0.0" onchange="calculateWage()" onkeyup="if(isNaN(value))execCommand('undo')" >
			<input class=textColorWrite style="border-left-width:0px;margin-left:-4px;width:18px" value="￥" readonly>
			<font color="red" style="center">*</font>
		</TD>
	</TR>
	<TR>
		<TD height="30" align="center" class="RecordRow" nowrap style= "border-bottom:1" style="border-right:1">实发工资&nbsp;</TD>
		<TD class="RecordRow" nowrap style= "border-bottom:1">&nbsp;
			<INPUT  name="wage_final" id="wage_final" value="0.0" class="readonly" readonly >
			<input class=textColorWrite style="border-left-width:0px;margin-left:-4px;width:18px" value="￥" readonly>
			<font color="red" style="center">*</font>
		</TD>
	</TR>
	<TR>
		<TD height="30" align="center" class="RecordRow" nowrap style= "border-bottom:1" style="border-right:1">发放日期&nbsp;</TD>
		<TD class="RecordRow" nowrap style= "border-bottom:1">&nbsp;
			<INPUT class=textColorWrite name="wage_date" id="wage_date" value="${wage.wage_date }"  readOnly onClick="setDay(this);">
			<font color="red" style="center">*</font>
		</TD>
	</TR>
	
	<TBODY>
</table>
</form>

<table width="60%" border="0" cellspacing="1" align="center" cellpadding="1" class="ListTable">
<tr align=center>
<td>
	<input type="button" class="mybutton" value='发放' onclick="checkWage()"/> &nbsp;
	<input type="button" class="mybutton" value='返回' onclick="history.back();"/></td>
<tr>
</table>
<script type="text/javascript">
document.getElementById("wage_date").value=tiannetYear+"-"+tiannetMonth+"-"+tiannetDay;
</script>
</body>
</html>